-- GENERATED SPELL FOR [Decrepit Guardian] --


function spell0_10943(pUnit, Event) --@Debilitating Touch,n/a--
pUnit:FullCastSpellOnTarget(16333,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10943', 622, 1)
end

function Sorts_10943(pUnit, Event)
local choix_sorts_10943 = math.random(0, 0)
if choix_sorts_10943 == 0 then
pUnit:RegisterEvent('spell0_10943', 1, 1)
end
end

function mob10943_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10943', math.random(1500, 3000), 1)
end

function mob10943_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10943_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10943_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10943, 1, 'mob10943_Action')
RegisterUnitEvent(10943, 2, 'mob10943_Leave')
RegisterUnitEvent(10943, 3, 'mob10943_Kill')
RegisterUnitEvent(10943, 4, 'mob10943_Die')
